<div id="auth_wrapper" class="handler" data-js-handler="login">
  <div id="login_actions_switch">
    <a href="#" id="login_action">Login</a> |
    <a href="#" id="register_action">Register</a>
  </div>
  <div id="register">
    <h3>You may register here</h3>
    <form method="POST" action="/auth/register">
      <fieldset>
        <label for="reg_login">Login</label>
        <input name="reg_login" id="reg_login" />
        <label for="reg_pass">Pass</label>
        <input name="reg_pass" type="password" id="reg_pass" />
        <label for="reg_login">Confirm pass</label>
        <input id="reg_confirm_pass" type="password" />

        <input type="submit" name="register" value="Try it" />
      </fieldset>
    </form>
  </div>
  <div id="login">
    <h3>Please sign in</h3>
    <form method="POST" action="/auth/login">
      <fieldset>
        <label for="login_login">Login</label>
        <input name="login_login" id="login_login" />
        <label for="login_pass">Pass</label>
        <input name="login_pass" id="login_pass" type="password" />

        <input type="submit" name="login" value="Try it" />
      </fieldset>
    </form>
  </div>
</div>